package com.chenl.provider.DEMOS.Spring.Spel;

import com.alibaba.fastjson.JSONObject;
import com.chenl.provider.DTO.UserInfo;
import org.springframework.stereotype.Service;

@Service
public class SpelService {

    @SpelAnno(key = "#userInfo.name")
    public void  method(UserInfo userInfo){
        System.out.println(JSONObject.toJSONString(userInfo));
    }
}
